<template>
  <WIcon class="cursor-pointer" :icon="icon"></WIcon>
</template>

<script>
import WIcon from "@/components/icon/WIcon"
export default {
  name: "Like",
  components: {WIcon},
  props: {
    like: {
      type: Boolean,
      default: false
    }
  },
  computed:{
    icon() {
      return this.like ? "icon-woxihuande_on" : "icon-woxihuande"
    }
  }
}
</script>

<style scoped>

</style>
